package com.ilink.ilinkcommon.domain.PO.trainingCamp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.opencsv.bean.CsvBindByName;
import java.io.Serializable;
import lombok.Data;

/**
 * 线下训练营名单导出表
 *
 * @TableName offline_export
 */
@TableName(value = "offline_export")
@Data
public class OfflineExport implements Serializable {

    /**
     * 唯一主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long offlineExportId;

    /**
     * 学号信息
     */
    @CsvBindByName(column = "schoolId")
    private String schoolId;

    /**
     * 用户姓名 必须的
     */
    @CsvBindByName(column = "realname")
    private String realname;

    /**
     * 训练营ID
     */
    @CsvBindByName(column = "campId")
    private Long campId;

    /**
     * 课程ID
     */
    @CsvBindByName(column = "courseId")
    private Long courseId;

    /**
     * 是否同步过
     */
    @CsvBindByName(column = "isSync", required = false)
    private Integer isSync;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}